package com.ebei.platform.common.util;

/**
* Constants.java
* Version: 1.0
*
* 常量的设置
*
* Created by zhugl on 2017/10/31
*
* Copyright 2008-2009 Ebei Corporation
* All right reserved.
*/
public interface RestfulConstants {
    // token验证的关键字
    public static final String TOKEN_VALID_KEY = "Authorization";
    //token验证的前缀
    public static final String TOKEN_VALID_KEY_PREFIX = "Basic ";
    
    // 根据楼栋Id获取该楼栋下所有的楼层
    public static final String HTTP_URL_GETFLOORINFO = "/api/Section/GetFloorInfoByBuildId";
    // 根据 标段Id获取当前标段下所有楼栋信息
    public static final String HTTP_URL_GETBUILDINGINFO = "/api/Section/GetBuildInfoBySecId";
    // token验证接口
    public static final String HTTP_URL_VALIDATE_TOKEN = "/api/Account/ValidateToken";
	// 根据楼栋Id获取该楼栋的负责人信息
    public static final String HTTP_URL_GETRESPONSIBLEBYBUILDINGID = "/api/Section/getResponsibleBybuildingId";
    // 根据项目获取该项目负责人信息
    public static final String HTTP_URL_GETRESPONSIBLEBYPROJECTID = "/api/Section/getResponsibleByProjectId";
    // 推送消息的接口url 
    public static final String HTTP_URL_SENDTASKPROCESSMEAASGE = "/api/Message/sendTaskProcessMeaasge";
    // 获取token字符串的接口
    public static final String HTTP_URL_GETTOKEN = "/api/Account/Login";
    // 根据档案ID获取该档案下所有的子档案
    public static final String HTTP_URL_LIST_ARCHIVE_FOR_PARENT = "/api/archive/QueryArchiveLeaf";
    // 获取附件
    public static final String HTTP_URL_GET_ATTACHMENT = "/api/attachment/GetAttachment/";
    // 下载附件
    public static final String HTTP_URL_DOWNLOAD_ATTACHMENT = "/api/attachment/DownloadAttachment/";
    // 向主系统同步日志
    public static final String HTTP_URL_INSERT_LOG = "/api/Log/InsertLog";
    // 根据区域id获取部门
    public static final String HTTP_URL_GET_USER = "/api/User/Get";
    // 根据项目ID获取项目名称
    public static final String HTTP_URL_GET_PROJECT_NAME = "/api/Project/Get";
    // 根据标段ID获取标段名称 
    public static final String HTTP_URL_GET_SECTION_NAME = "/api/Project/GetSection";
    // 下载文件接口
    public static final String HTTP_URL_GET_MESSAGE = "/api/Attachment/GetAttachment";
    // 根据code获取子节点
    public static final String HTTP_URL_LIST_ARCHIVE_BY_CODE = "/api/Archive/QueryTop";
}
